//判断闰年的方法 
//1.能被4整除，不能被100整除
//2.能被400整除
#include<stdio.h>
int main()
{
    int year,leap;
    scanf("%d",&year);
    if (year%4==0)
    {
        if(year%100==0)
        {
            if(year%400==0)
            {
                leap=1;

            }
            else
            leap=0;
        }
        else
        leap=1;

    }
    else leap=0;
    if (leap)
    {
        printf("%d is\n",year);
        
    }
    else
    printf("%d is not\n",year);
    return 0;
    
    
}